<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>testmatrix</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>testmatrix</b> -  generate some particular matrices</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[y]=testmatrix(name,n)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>name</b>
        </tt>: a character string</li>
      <li>
        <tt>
          <b>n</b>
        </tt>: integers, matrix size</li>
      <li>
        <tt>
          <b>y</b>
        </tt>: <tt>
          <b>n</b>
        </tt> x <tt>
          <b>m</b>
        </tt> matrix</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    Create some particular matrices
  </p>
    <dl>
      <dd>
        <b>testmatrix('magi',n)</b>: returns a magic square of size <tt>
          <b>n</b>
        </tt> .</dd>
      <dd>
        <b>testmatrix('frk',n)</b>: returns the Franck matrix :</dd>
      <dd>
        <b>testmatrix('hilb',n)</b>: is the inverse of the nxn Hilbert matrix  <tt>
          <b> (Hij= 1/(i+j-1))</b>
        </tt>.</dd>
    </dl>
  </body>
</html>
